package com.lzx.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * (Address)实体类
 *
 * @author makejava
 * @since 2021-02-25 10:39:30
 */
@AllArgsConstructor
@Data
@NoArgsConstructor
public class Address implements Serializable {
    private static final long serialVersionUID = -83734784031664937L;

    private Integer id;

    private String province;

    private String city;

    private String country;

    private String detail;
    @TableField(fill = FieldFill.INSERT)
    private Date ceatedate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date modifydate;

    private Integer userid;

    private Boolean isdefault;

    private String username;

    private String phone;


}